package com.justech.eat.mapper.mysql;

import com.justech.eat.entity.SysUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

/**
 * @program: eat-service
 * @description: 用户映射
 * @author: feifei.li
 * @create: 2020-06-01 15:30
 **/
@Mapper
public interface SysUserMapper {

    @Select("SELECT * FROM `TSysUser` ")
    List<Map<String,Object>> findAll();

    @Select("SELECT * FROM `TSysUser` WHERE FStatus=1 ")
    List<SysUser> findInJob();

}
